/**
 * 
 */
package org.dragonfire.dasm.functions;

import org.dragonfire.dasm.DASM;
import org.dragonfire.parser.Equation;
import org.dragonfire.parser.functions.Function;

public class File extends Function {

	/**
	 * 
	 */
	private final DASM dasm;

	/**
	 * @param dasm
	 */
	public File(DASM dasm) {
		this.dasm = dasm;
	}

	public String eval(Equation equ, String[] params) {
		return "\"" + this.dasm.getCurrentFileName() + "\"";
	}

	public int minParams() {
		return 0;
	}
}